package com.lkz.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lkz.service.IContactService;
import com.lkz.entity.Contact;
import com.lkz.mapper.ContactMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class ContactServiceImpl extends ServiceImpl<ContactMapper, Contact> implements IContactService {
    @Resource
    private ContactMapper contactMapper;
    @Override
    public IPage<Contact> selectList(Page<Contact> page) {
        return contactMapper.selectList(page);
    }

    @Override
    public IPage<Contact> selectDelList(Page<Contact> page) {
        return contactMapper.selectDelList(page);
    }
}
